<template>
  <div>
    <h1>app</h1>
    <test-get></test-get>
    <test-post></test-post>
  </div>
</template>

<script>
// import axios from "axios";
/* 
get
post  
有表单数据提交
普通文本提交

*/
// 配置axios的默认值
// axios.defaults.baseURL = "http://localhost:8000";
import TestGet from "./components/TestGet";
import TestPost from "./components/TestPost";
export default {
  mounted() {
    /* axios({
      method: "get",
      url: "/search_info_item",
      params: {
        stu_id: "06",
      },
    })
      .then((res) => {
        console.log(res);
      })
      .catch((err) => {
        console.log(err);
      }); */
  },
  components: {
    TestGet,
    TestPost,
  },
};
</script>

<style lang="scss" scoped>
</style>